import request from "@/utils/request";

// 条件查询视频频道列表
export function getHotList(categoryParentId) {
  return request({
    url: "/vms/video/hot/list",
    method: "get",
    params: { categoryParentId }
  });
}

// 获取视频详情
export function getDetailsById(id) {
  return request({
    url: "/vms/video/info/getDetailsById",
    method: "get",
    params: { id }
  });
}
